<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <?php echo $meta?>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>登录 - 宁师青柠BBS</title>
    <link rel="stylesheet" href="public/css/my-bootstrap.min.css">
    <link href="public/css/login.all.min.css" rel="stylesheet">
    <style type="text/css" >
        #jitter{width: 500px;height: 160px;position: absolute;left: 0;right: 0;margin: auto;animation: jitter 3s}
        @keyframes jitter{0%{transform: translateX(-100px);top: -20px}10%{top: 0px}30%{top: -30px}40%{top: 0px}50%{top: -20px}100%{top: 0}}
    </style>
  </head>
  <body>
    <div class="header clearfix">
        <h1><a href="/nsbbs/" style="color:inherit;text-decoration:none;">宁师青柠</a></h1>
        <h3>bbs.ns.cn</h3>
    </div>
    <div class="login-wrap">
      <div class="login-label">
          <?php if($_GET['err']==403){ ?>
           <a href="javascript:history.go(-2)" style="margin-top: 10px" class="r"><small>«返回</small></a>
          <?php }else{ ?>
             <a href="javascript:history.go(-1)" style="margin-top: 10px" class="r"><small>«返回</small></a>
          <?php } ?>
          登录青柠
      </div>
      <div id="msg"></div>
      <form>
        <input type="text" id="user" name="user" class="form-control" placeholder="用户名 / 邮箱" autofocus>
        <input type="password" id="pwd" name="pwd" class="form-control" placeholder="密码 password">
        <div class="checkbox clearfix">
          <label class="l">
            <input type="checkbox" id="auto"> 自动登录
          </label>
          <span class="r"><a href="pwdsafe.php">忘记密码</a> <b style="vertical-align:text-bottom">|</b> <a href="register.php">注册</a></span>
        </div>
        <button name="submit" class="btn btn-default btn-primary btn-block" id="submit">登录</button>
      </form>
    </div> 
    <div id="footer">
      <p>© 2020–2021 宁师青柠BBS</p>
  </div>
  <div id="tip"></div>
  </body>
  <script src="public/js/login.all.js"></script>
</html>
